/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exceptions.lexic;

/**
 *
 * @author Administrador
 */
public class IDToLongException extends LexicException {
    private String id;
	private int linea;
    private int columna;

    public IDToLongException(String s,int l, int c){
		id = s;
		linea = l;
	    columna = c - (s.length()-1);
	}

	public String getMessage(){
		return ("IDToLongException: El token "+id+" de la linea "+linea+", columna "+columna+", posee demasiados caracteres");
	}
}
